package com.youyou.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author:Lau
 * @create: 2023-01-31 09:53
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class UserTwo {
    Integer userID;
    String username;
    String sex;
    Integer age;
    BigDecimal salary;

    @Override
    public String toString() {
        return "UserTwo{" + "userId=" + userID + ", userName='" + username + '\'' + ", sex='" + sex + '\'' + ", age=" + age
                + ", salary=" + salary + '}'+'\n';
    }
}
